
//------------------------------------------------------------------------------

namespace Apps.Models
{
     using System.ComponentModel.DataAnnotations.Schema;
    using System;
    using System.Collections.Generic;

    [Table("SYSSTRUCT")]
    public partial class SysStruct
    {
        public SysStruct()
        {
            this.SysPosition = new HashSet<SysPosition>();
            this.SysStruct1 = new HashSet<SysStruct>();
            this.SysUser = new HashSet<SysUser>();
        }

        [Column("ID"), System.ComponentModel.DataAnnotations.Key]
        public string Id { get; set; }
        [Column("NAME")]
        public string Name { get; set; }
        [Column("PARENTID")]
        public string ParentId { get; set; }
        [Column("SORT")]
        public int Sort { get; set; }
        [Column("HIGHER")]
        public string Higher { get; set; }
        [Column("ENABLE")]
        public bool Enable { get; set; }
        [Column("REMARK")]
        public string Remark { get; set; }
        [Column("CREATETIME")]
        public System.DateTime CreateTime { get; set; }

        [Column("PATH")]
        public String Path { get; set; }

        public virtual ICollection<SysPosition> SysPosition { get; set; }
        public virtual ICollection<SysStruct> SysStruct1 { get; set; }
        public virtual SysStruct SysStruct2 { get; set; }
        public virtual ICollection<SysUser> SysUser { get; set; }
    }
}
